package com.shop.daoImpl;

import org.springframework.stereotype.Repository;

import com.shop.entity.Goods;
@Repository
public class GoodsDaoImpl extends BaseDaoImpl<Goods> {
	
	public GoodsDaoImpl() {
		super(Goods.class) ;
	}
	/*public boolean delete(Integer id) {
		SessionFactory sf = (SessionFactory) com.shop.util.BeanUtil.getBean("sessionFactory") ;
		Session session = sf.openSession() ;
		Goods goods = (Goods) session.get(Goods.class, id) ;
		session.delete(goods) ;
		session.beginTransaction().commit() ;
		return true ;
	}*/

}
